<template>
    <h1>登录</h1>
    <button @click="submit">登录</button>
</template>

<script>

    export default {
        methods:{
            submit(){
                this.$router.push("/index");
            }
        }
    }
</script>